﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    [Table(Name = "bank")]
    public class Bank : Entity
    {
        /// <summary>
        ///
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        /// 银行名称
        /// </summary>
        [Column(Name = "bankname")]
        public String bankname { get; set; }

        /// <summary>
        /// 开户姓名
        /// </summary>
        [Column(Name = "realname")]
        public String realname { get; set; }

        /// <summary>
        /// 银行账号
        /// </summary>
        [Column(Name = "account")]
        public String account { get; set; }

        /// <summary>
        /// 支行名称
        /// </summary>
        [Column(Name = "zhihang")]
        public String zhihang { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Column(Name = "remark")]
        public String remark { get; set; }

          /// <summary>
        /// 类别：银行卡；微信；支付宝；
        /// </summary>
        [Column(Name = "type")]
        public String type { get; set; }

          /// <summary>
        /// 收款码
        /// </summary>
        [Column(Name = "imgpath")]
        public String imgpath { get; set; }
        

    }
}
